// 权限管理路由
export default {
  path: "/permission-manage",
  name: "PermissionManage",
  component: () => import("@/layout/index.vue"),
  redirect: "/permission-manage/roles",
  meta: {
    title: "权限管理",
    icon: "ep:lock",
    rank: 8,
  },
  children: [
    {
      path: "/permission-manage/roles",
      name: "RoleManagement",
      component: () => import("@/views/permission/roles/index.vue"),
      meta: {
        title: "角色管理",
      }
    },
    {
      path: "/permission-manage/users",
      name: "UserManagement",
      component: () => import("@/views/permission/users/index.vue"),
      meta: {
        title: "用户管理",
      }
    },
    {
      path: "/permission-manage/menus",
      name: "MenuManagement",
      component: () => import("@/views/permission/menus/index.vue"),
      meta: {
        title: "菜单管理",
      }
    }
  ]
}; 